//
//  LIUTextView.m
//  EasyNotes
//
//  Created by 劉裕 on 11/6/2016.
//  Copyright © 2016年 劉裕. All rights reserved.
//

#import "LIUTextView.h"

@implementation LIUTextView

- (instancetype)init {
    self = [super init];
    if (self) {
        [self setupView];
    }
    return self;
}

- (void)setupView {
    self.tintColor = LIUColor(217, 98, 84, 1.0f);
    self.backgroundColor = [UIColor whiteColor];
    NSString *placeholderTxt = NSLocalizedString(@"placeholderText", nil);
    self.placeholderText = placeholderTxt;
    self.placeholderTextColor = LIUColor(187, 187, 187, 1.0f);
    self.font = [UIFont systemFontOfSize:15];
    self.placeholderFont = self.font;
    self.textContainerInset = UIEdgeInsetsMake(10, 15, 10, 10);
    self.scrollIndicatorInsets = self.contentInset;
}

@end
